package com.stu.ssm_02.vo;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * ClassName: AjaxTableResult
 * Package: com.stu.ssm_02.vo
 * Description: @Version 1.0
 */
@Data
@AllArgsConstructor
// 返回一个列表
public class AjaxTableResult<T> {
    private Integer code;
    private String msg;
    private List<T> rows;
    private Integer total;//返回数据个数

    public AjaxTableResult() {
        this.code=200;
        this.msg="操作成功";
    }
}
